[RTE] Fix floating toolbar position in shadow DOM#3074
Open
cpoftea wants to merge 1 commit intoepam:developfrom
Open
[RTE] Fix floating toolbar position in shadow DOM#3074cpoftea wants to merge 1 commit intoepam:developfrom
cpoftea wants to merge 1 commit intoepam:developfrom
Conversation
* Removed `SelectionUtils` from `helpers` (shadow selection helpers no longer used for toolbar placement) * Updated `PositionedToolbar`: positioned the floating toolbar using Plate `toDOMRange`; removed the obsolete props & funcs; added a note about Safari in Shadow DOM and `useEventEditorSelectors` * Updated `Toolbars` and `tablePlugin`: stopped passing `editor` into `FloatingToolbar`
|
Generated by: track-bundle-size
new sizes (raw)To set the sizes as a new baseline, you can copy/paste next content to the {
"version": "6.4.3",
"timestamp": "2026-03-25",
"sizes": {
"templateApp": {
"css": 253670,
"js": 445299
},
"@epam/app": {
"css": 719497,
"js": 4953220
},
"@epam/electric": {
"css": 2275,
"js": 2883
},
"@epam/promo": {
"css": 47756,
"js": 9145
},
"@epam/uui-extra": {
"css": 0,
"js": 213
},
"@epam/loveship": {
"css": 55348,
"js": 43225
},
"@epam/uui-components": {
"css": 24608,
"js": 240799
},
"@epam/uui-core": {
"css": 0,
"js": 336983
},
"@epam/uui-db": {
"css": 0,
"js": 42718
},
"@epam/uui-docs": {
"css": 2152,
"js": 197291
},
"@epam/uui-editor": {
"css": 12952,
"js": 163675
},
"@epam/uui-timeline": {
"css": 2203,
"js": 75109
},
"@epam/uui": {
"css": 214809,
"js": 344864
}
}
}Generated by: generate-components-api Total amount of exported types/props without JSDoc comments
|
MSt1ch
approved these changes
Mar 26, 2026
i-runets
approved these changes
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Plate’s
toDOMRangeis used to place the floating toolbar so it stays correct in shadow DOM; shadow-selection helpers were removed from the toolbar path, andFloatingToolbarno longer needseditorpassed from callers.Demo with fix applied:
compressO-gX1EGP_sXqpr3IoacKBgg.mp4
Issue link: #3073
QA notes:
Important to note, that RTE in shadow DOM at Safari is buggy by itself (probably because of outdated PlateJS
@udecode/*deps), so this fix does not make it worse